namespace GrpcSampleDbAccessService.Model
{
    using System;
    using System.ComponentModel.DataAnnotations.Schema;
    using Stee.CAP8.Entity;
    // Entity Student uses BaseEntityConfiguration to configure the properties, check StudentContext.cs for example
    [Table("AttributeSample")]
    public class Subject : BaseEntity
    {
        public string Name { get; set; }
        public string TaughtBy { get; set; }

        [NotMapped]
        public override long? UpdateBy { get => base.UpdateBy; set => base.UpdateBy = value; }
        [NotMapped]
        public override DateTime UpdateDT { get => base.UpdateDT; set => base.UpdateDT = value; }
        [NotMapped]
        public override DataState DataState { get => base.DataState; set => base.DataState = value; }
    }
}
